home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Archives / StartupTools / AllocREVpatch.lha / AllocREVpatch.doc < prev   
Text File  |  1994-01-09  |  3KB  |  123 lines

  1. Documentation for AllocREVpatch V2.0 by Michael Mutschler
  2.  
  3. for bugs/suggestions write to
  4.  
  5.   Michael Mutschler
  6.   Somborer Weg 11
  7.   71067 Sindelfingen
  8.   Germany
  9.  
  10. EMAIL:
  11. Internet: amiga2@info2.rus.uni-stuttgart.de
  12. UUCP:     micha@agnus.tynet.sub.org
  13. FIDO:     2:246/1115.1
  14.  
  15.  
  16.  
  17. purpose:
  18.  Since I got a new turbocard, with 32bit-RAM I now have the problem, with
  19. filling up the 32-bit RAM very fast, and then only the 16-bit RAM is left.
  20. Then I thought of placing some data explicitely into the 16-bit RAM, e.g. the
  21. RAM-Disk. Now, I found a Flag in the AllocMem() call called MEMF_REVERSE.
  22. Because my RAM ist one big block (4MB Fast and the 4MB 16-bit in one block)
  23. This is the right function. So all this program does, is set the REVERSE-bit
  24. dependent on the calling Task/Process.
  25.  
  26. How it works:
  27. The patch is installed (~300 bytes!!) and when AllocMem() is called, the patch
  28. looks for the process-name. If the caller is a task, the task-name is taken.
  29. Then it is compared case-insensitive to the list of tasks. If successful,
  30. MEMB_REVERSE is set, and the mem is allocated. If CHIP-MEM is requested,
  31. nothing is else is done. Of course Kick 2.0+ is required.
  32.  
  33.  
  34. USAGE:
  35.  AllocREVpatch [INSTALL|REMOVE]
  36.  
  37. INSTALL means, install the patch;
  38. REMOVE  removes it. (after checking if possible)
  39.  
  40. without parameter, you get the main prefs with a nice GUI, and the patch is
  41. being installed when necessary:
  42.  
  43. The Listview-Gadget shows the tasks currently being patched.
  44. The UP/DOWN buttons move the active entry up/down.
  45. INS inserts an item above the active entry.
  46. DEL deletes the active entry.
  47. ADD appends a new entry at the end of the list.
  48. SORT sorts the list.
  49.  
  50. Toggling the "active" button (de-)activates the patch. this is the only
  51. function which takes immediately effect.
  52.  
  53. SAVE saves the prefs to "S:AllocREVpatch.prefs"
  54. I used S: and not ENV: because I call the patch before ENV is available, so
  55. the ENV-Variables go to 16-bit RAM...
  56.  
  57. REMOVE removes the patch and quits.
  58.  
  59. OK activates the changes & quits.
  60.  
  61. Closing the Window exits immediately without activating the changes.
  62.  
  63.  
  64.  
  65. The Menu:
  66.  
  67. Open:
  68.   Load new prefs with an ASL-Requester
  69.  
  70. Save As:
  71.   Save prefs to different file.
  72.  
  73. About:
  74.   Try it
  75.  
  76. Quit:
  77.   same as pressing OK-button
  78.  
  79.  
  80. Edit-Menu
  81.  
  82. Default:
  83.   get the default settings of the patch
  84. Last Saved:
  85.   get the last settings saved ("S:AllocREVpatch.prefs")
  86. Restore:
  87.   undo all settings
  88.  
  89.  
  90. Settings-Menu
  91.  
  92. Create Icon
  93.    Not implemented :-)
  94.    Does anybody need it????
  95.  
  96.  
  97.  
  98. Of course you can use the Keyboard too
  99. "u" - UP
  100. "d" - DOWN
  101. "i" - INS
  102. "e" - DEL
  103. "a" - ADD
  104. "o" - SORT
  105. "s" - SAVE
  106. "r" - REMOVE
  107. "k" - OK
  108. "v" - activate
  109. "q" - quit immediately without saving
  110.  
  111. arrow up   - activate entry above
  112. arrow down - activate entry below
  113. return     - activate string gadget
  114.  
  115.  
  116.  
  117. Future enhancements (if I get enough response :-))
  118. - add the feature of not only do a MEMF_REVERSE, but support different memory
  119.   boards in the system, i.e. multiple boards with different priority.
  120. - a guide
  121. - Let's see what you suggest ...
  122.  
  123.